Gets the identifier of the resource associated with the current activity. The key is derived from the resource identifier in the manifest. It is unique per session.
Parent Type: LearningSession
Namespace: Microsoft.LearningComponents
Assembly: Microsoft.LearningComponents.dll
| C# |
|
public string CurrentActivityResourceKey { get; } |
| Exception type | Condition |
| InvalidOperationException | Thrown if there is no current activity in the session. |